#!usr/bin/env python  
# -*- coding:utf-8 _*-
""" 
@author:robot
@file: urls.py 
@version:
@time: 2021/09/16 
"""
from django.conf.urls import url
from django.urls import path
from jobs import views

urlpatterns = [
    # 职位列表
    url(r"^joblist/", views.joblist, name="joblist"),
    # 职位详情
    url(r"^job/(?P<job_id>\d+)/$", views.detail, name="detail"),

    # 提交简历
    path('resume/add/', views.ResumeCreateView.as_view(), name='resume-add'),
    path('resume/<int:pk>/', views.ResumeDetailView.as_view(), name='resume-detail'),

    # 首页自动跳转到 职位列表
    url(r'^$', views.joblist, name='name'),
]
